<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 清除默认 */
        *{
            margin: 0;
            padding: 0;
        }
        /* 设置弹性水平居中 */
     div{   
        display: flex;
        place-content: center;         
        }
        .box{
            width: 61px;
            height: 104px;
            border: 1px solid black; 
            background-image:url(./QQ图片20220217151853.jpg);
            background-position:-327px -142px;
            /* 利用x.y轴将背景图显示到指定位置 */
        }
        .box1{
            width: 98px;
            height: 111px;
            border:1px solid black;
            background-image:url(./QQ图片20220217151853.jpg);
            background-position: -241px -9px;   
        }
        .box2{
            width: 61px;
            height: 104px;
            border: 1px solid black;
            background-image:url(./QQ图片20220217151853.jpg);
            background-position:-327px -142px;
        }
    </style>
    
</head>
<body>
    <div>
    <div class="box"></div>
    <div class="box1"></div>
    <div class="box2"></div>
</div>
</body>
</html>